﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GameSchool.Models;
using System.ComponentModel.DataAnnotations;

namespace GameSchool.Models.OnTheFlyModels
{
    /// <summary>
    /// Klasinn heldur utan um það sem þarf til að reikna einkunn
    /// </summary>   
    
	[NotMapped]
    public class StudentCourseGrading
    {
        public StudentCourseGrading(Person student, Course course)
        {
            this.CourseName = course.CourseName;
            this.TotalPoints = 12;
            this.Ranking = 15;
            this.Ects = course.Ects;
            this.Completed = "Ólokið";
        }
       
		public string CourseName { get; set; }
        public int TotalPoints { get; set; }
        public int Ranking { get; set; }
        public int Ects { get; set; }
        public String Completed { get; set; }
    }
}